package com.gitee.hengboy.job.server.configuration.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author：于起宇 <p>
 * ================================
 * Created with IDEA.
 * Date：2019-01-08
 * Time：15:14
 * 个人博客：http://blog.yuqiyu.com
 * 简书：http://www.jianshu.com/u/092df3f77bca
 * 码云：https://gitee.com/hengboy
 * GitHub：https://github.com/hengyuboy
 * ================================
 * </p>
 */
@Data
@ConfigurationProperties(prefix = "hengboy.job.server")
public class JobServerProperties {
    /**
     * 注册中心端口号
     */
    private Integer regPort = 9999;
    /**
     * 注册中心协议
     */
    private String regProtocol = "local";
    /**
     * register protocol
     */
    private String protocol = "job";
    /**
     * group name
     */
    private String group = "jobGroup";
    /**
     * registry name
     */
    private String registryName = "jobRegistry";


}
